package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelCommentReply;
import cn.wolfcode.trip.base.domain.Travelcontent;
import cn.wolfcode.trip.base.query.TravelObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelService {

    PageInfo<?> query(TravelObject qo);

    void save(Travel travel);

    Travel getById(Long id);

    void update(Travel travel);

    Travelcontent getContentById(Long id);

    void changeStateById(Travel travel);

    PageInfo<?> queryByState(TravelObject qo);

    List<Travel> listTravelByStrategyId(Long id);

    void saveReply(TravelCommentReply commentReply);

}
